//
//  LDSCollectionReusableViewModel.h
//  LDSMVVMBase
//
//  Created by kai_leedarson on 2017/10/9.
//  Copyright © 2017年 maple_leedarson. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LDSBaseCollectionReusableView.h"

@interface LDSCollectionReusableViewModel : NSObject
@property (nonatomic, weak) UICollectionView *collectionView;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, assign) Class viewClass;
@property (nonatomic, strong) id model;
@property (nonatomic, assign) NSInteger tag;
@property(nonatomic, assign) BOOL isfootView;
@property (nonatomic, readonly, getter=reusableView) LDSBaseCollectionReusableView *reusableView;

+ (LDSCollectionReusableViewModel *)modelWithClass:(Class)vClass model:(id)model;

+ (LDSCollectionReusableViewModel *)modelWithClass:(Class)vClass
                                            model:(id)model
                                              tag:(NSInteger)tag;
@end
